﻿using MediatR;
using Medical.Api.Read.Dto.WmsDto.WmsOutDto;
using Medical.ErrorCode;
using System;
using System.Collections.Generic;

namespace Medical.Api.Read.Application.Command.Wms.WmsOutCauseCommand
{
    //public class WmsOutQueryDto
    //{
    //    public int PageIndex { get; set; } = 1;
    //    public int PageSize { get; set; } = 10;
    //    public DateTime? StartTime { get; set; }
    //    public DateTime? EndTime { get; set; }
    //    public int? AuditState { get; set; }
    //}

    //public class WmsOutPageDto
    //{
    //    public int Id { get; set; }
    //    public string OutCode { get; set; }
    //    public int OutWarehouse { get; set; }
    //    public int OutReason { get; set; }
    //    public int AuditState { get; set; }
    //    public string AuditStateName { get; set; }
    //    public string AuditName { get; set; }
    //    public DateTime AuditDate { get; set; }
    //    public DateTime CreateTime { get; set; }
    //}

    public class GetOutCauseByPageCommand : IRequest<ApiResult<ApiPageIng<WmsOutPageDto>>>
    {
        public WmsOutQueryDto QueryDto { get; set; }
        public GetOutCauseByPageCommand(WmsOutQueryDto queryDto)
        {
            QueryDto = queryDto;
        }
    }
}
